﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BillBook.Model;
using BillBook.Repository;

namespace BillBook.Controller
{
    public class TransactionController
    {
        private readonly IBillBookRepository repository;

        public TransactionController(IBillBookRepository repository)
        {
            this.repository = repository;
        }

        public void Save(User user)
        {
            repository.Save(user);
        }
    }
}
